package com.ruoyi.admin.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * drugs对象 drugs
 * 
 * @author ruoyi
 * @date 2023-01-11
 */
public class Drugs extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 药品序号 */
    @Excel(name = "药品序号")
    private Long dCode;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String dName;

    /** 服用类型 */
    @Excel(name = "服用类型")
    private String dType;

    /** 药品规格 */
    @Excel(name = "药品规格")
    private String dSpec;

    /** 厂家 */
    @Excel(name = "厂家")
    private String dFactory;

    /** 药品库存 */
    @Excel(name = "药品库存")
    private Long dStock;

    /** 药品价格 */
    @Excel(name = "药品价格")
    private Long dPrice;

    /** 单次用量 */
    @Excel(name = "单次用量")
    private String dCount;

    /** 单次用法 */
    @Excel(name = "单次用法")
    private String dUsage;

    /** 单次频率 */
    @Excel(name = "单次频率")
    private String dPindu;

    /** 天数 */
    @Excel(name = "天数")
    private Long dDay;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setdCode(Long dCode) 
    {
        this.dCode = dCode;
    }

    public Long getdCode() 
    {
        return dCode;
    }
    public void setdName(String dName) 
    {
        this.dName = dName;
    }

    public String getdName() 
    {
        return dName;
    }
    public void setdType(String dType) 
    {
        this.dType = dType;
    }

    public String getdType() 
    {
        return dType;
    }
    public void setdSpec(String dSpec) 
    {
        this.dSpec = dSpec;
    }

    public String getdSpec() 
    {
        return dSpec;
    }
    public void setdFactory(String dFactory) 
    {
        this.dFactory = dFactory;
    }

    public String getdFactory() 
    {
        return dFactory;
    }
    public void setdStock(Long dStock) 
    {
        this.dStock = dStock;
    }

    public Long getdStock() 
    {
        return dStock;
    }
    public void setdPrice(Long dPrice) 
    {
        this.dPrice = dPrice;
    }

    public Long getdPrice() 
    {
        return dPrice;
    }
    public void setdCount(String dCount) 
    {
        this.dCount = dCount;
    }

    public String getdCount() 
    {
        return dCount;
    }
    public void setdUsage(String dUsage) 
    {
        this.dUsage = dUsage;
    }

    public String getdUsage() 
    {
        return dUsage;
    }
    public void setdPindu(String dPindu) 
    {
        this.dPindu = dPindu;
    }

    public String getdPindu() 
    {
        return dPindu;
    }
    public void setdDay(Long dDay) 
    {
        this.dDay = dDay;
    }

    public Long getdDay() 
    {
        return dDay;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("dCode", getdCode())
            .append("dName", getdName())
            .append("dType", getdType())
            .append("dSpec", getdSpec())
            .append("dFactory", getdFactory())
            .append("dStock", getdStock())
            .append("dPrice", getdPrice())
            .append("dCount", getdCount())
            .append("dUsage", getdUsage())
            .append("dPindu", getdPindu())
            .append("dDay", getdDay())
            .toString();
    }
}
